with
{base}
evaluate expression in the context of a data frame
attach
{base}
Attach Set of R Objects to Search Path
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
ungroup
{dplyr}
Resolve grouping created with “group_by”
rename
{dplyr}
Renames columns in a data frame or tibble.
cut
{base}
Convert Numeric to Factor
element_blank
{GGPLOT2}
This theme element draws nothing, and assigns no space
slice_sample
{dplyr}
Randomly selects rows from a data frame or tibble.
element_text
{GGPLOT2}
Customise text in GGPLOT2
set.seed
{base}
Initialise a pseudorandom number generator.
leveneTest
{car}
Computes Levene’s test for homogeneity of variance across groups.
labs
{GGPLOT2}
Customise labels in GGPLOT2
colnames
{base}
Retrieve column names of a data frame
ordered
{dplyr}
Create an ordered factor
is.na
{base}
Check if a value is NA/elements of vector are NA
c
{base}
Combine values/vectors into a vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
mutate
{dplyr}
Modify/create a column in a data frame
geom_point
{GGPLOT2}
Generates a scatter plot
nrow
{base}
Get number of rows of a data frame
ggplot
{GGPLOT2}
Create a ggplot graph
lm
{base}
Fit a linear model
library
{base}
Load an R package
theme
{GGPLOT2}
Set theme for GGPLOT2
mean
{base}
Get mean of a vector
filter
{dplyr}
Filter out rows of a data frame according to logical vector
median
{stats}
Get median of a vector
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
chisq.test
{stats}
Chi-Squared test (e.g. for cross-tabulations)
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
element_line
{GGPLOT2}
Customise line appearance
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
summary
{base}
Obtain summary statistics or detailed regression output
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
setwd
{base}
Set Working Directory
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
round
{base}
Rounds numbers
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
select
{dplyr}
Select columns from a tibble/data frame
read_excel
{readxl}
Read an Excel file
prop.test
{stats}
Test of Equal or Given Proportions
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
min
{base}
Get minimum of a vector
The end!